package com.stellar.circle.convert;

import com.stellar.circle.basic.entity.SCommentLike;
import com.stellar.circle.controller.admin.sCommentLike.vo.SCommentLikeRequestPageVO;
import com.stellar.circle.controller.admin.sCommentLike.vo.SCommentLikeRequestVO;
import com.stellar.circle.controller.admin.sCommentLike.vo.SCommentLikeResponseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 评论点赞表转换器
 * @author Jqchan
 * @version 1.0
 * @date 2025-05-19 14:53:12
 */
@Mapper
public interface SCommentLikeConvert {

    SCommentLikeConvert INSTANCE = Mappers.getMapper(SCommentLikeConvert.class);

    SCommentLike convert(SCommentLikeResponseVO responseVO);

    SCommentLike convert(SCommentLikeRequestVO requestVO);

    SCommentLike convert(SCommentLikeRequestPageVO requestPageVO);

    SCommentLikeResponseVO convert(SCommentLike entity);

    List<SCommentLikeResponseVO> convertEntityToRespList(List<SCommentLike> entities);
}
